package com.ssm.service;

import com.ssm.domain.Folder;
import com.ssm.domain.SysFile;

import java.util.List;

/**
 * 文件夹业务接口
 */
public interface IFolderService {
    List<Folder> findAll(Integer page, Integer size) throws Exception;

    void save(Folder folder) throws Exception;

    void deleteFolder(String folderId) throws Exception;

    Folder findById(String folderId) throws Exception;

    List<SysFile> findOtherFiles(String folderId) throws Exception;

    void addFileToFolder(String folderId, String[] fileIds) throws Exception;
}
